# setup.py
#
# Square Rain - an arcade game
# Copyright (C) 2006 Avinash 'aetherFox' Vora
#
# This source is protected by the GPL
# See readme.txt for details

from distutils.core import setup
import sys
import py2exe

# compile the game when setup.py is run
if len(sys.argv) == 1:
    sys.argv.append("py2exe")
    sys.argv.append("-q")

# excludes
excludes = []

setup (
	options = {"py2exe": {"compressed": 1,
                          "optimize": 2,
                          "excludes": excludes}},
						  
	data_files = [("data", ["data/04b_11.ttf"]), 
				  ("", ["readme.txt"]), 
				  ("source", ["square_rain.py", "setup.py"]),
				  ("", ["screenshot.png"])],
				  
    zipfile = "lib/shared.zip",
	version = "0.5",
	description = "Square Rain - an arcade game",
	name = "SquareRain",
	windows=["square_rain.py"]
	)